<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>学无止境 - 专业在线学习平台</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
        }
        
        :root {
            --primary: #3498db;
            --secondary: #2ecc71;
            --accent: #9b59b6;
            --light: #f8f9fa;
            --dark: #2c3e50;
            --gray: #7f8c8d;
            --border: #e0e0e0;
            --warning: #f39c12;
            --text: #34495e;
        }
        
        body {
            font-size: 14px;
            color: var(--text);
            line-height: 1.6;
            background: linear-gradient(135deg, #f5f7fa 0%, #eef2f7 100%);
            min-height: 100vh;
            padding-bottom: 80px;
        }
        
        .container {
            max-width: 750px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        .header {
            background: linear-gradient(135deg, var(--primary), #2980b9);
            color: white;
            padding: 20px 15px 70px;
            border-radius: 0 0 30px 30px;
            margin-bottom: -40px;
            position: relative;
        }
        
        .top-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .logo {
            display: flex;
            align-items: center;
            font-size: 20px;
            font-weight: 700;
        }
        
        .logo i {
            margin-right: 10px;
            font-size: 24px;
        }
        
        .user-actions {
            display: flex;
            gap: 15px;
        }
        
        .icon-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 16px;
        }
        
        .search-bar {
            background: white;
            border-radius: 30px;
            padding: 10px 20px;
            display: flex;
            align-items: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .search-bar i {
            color: var(--gray);
            margin-right: 10px;
        }
        
        .search-bar input {
            flex: 1;
            border: none;
            outline: none;
            font-size: 14px;
            background: transparent;
        }
        
        .categories {
            display: flex;
            overflow-x: auto;
            padding: 15px 0;
            gap: 12px;
            margin: 30px 0 20px;
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
        
        .categories::-webkit-scrollbar {
            display: none;
        }
        
        .category {
            flex: 0 0 auto;
            background: white;
            border-radius: 15px;
            padding: 15px;
            text-align: center;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
            min-width: 80px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .category:hover, .category.active {
            background: var(--primary);
            color: white;
        }
        
        .category i {
            font-size: 24px;
            margin-bottom: 8px;
            display: block;
        }
        
        .section-title {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 25px 0 15px;
        }
        
        .section-title h2 {
            font-size: 18px;
            font-weight: 700;
            color: var(--dark);
        }
        
        .section-title a {
            color: var(--primary);
            font-size: 13px;
            text-decoration: none;
        }
        
        .courses-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .course-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s;
        }
        
        .course-card:hover {
            transform: translateY(-5px);
        }
        
        .course-image {
            height: 120px;
            position: relative;
            overflow: hidden;
        }
        
        .course-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .course-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background: var(--accent);
            color: white;
            font-size: 11px;
            padding: 3px 8px;
            border-radius: 12px;
        }
        
        .course-content {
            padding: 15px;
        }
        
        .course-title {
            font-weight: 600;
            margin-bottom: 8px;
            font-size: 15px;
            height: 42px;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
        
        .course-instructor {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            font-size: 12px;
            color: var(--gray);
        }
        
        .instructor-avatar {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            margin-right: 8px;
        }
        
        .course-meta {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: var(--gray);
        }
        
        .course-price {
            color: var(--warning);
            font-weight: 700;
            font-size: 16px;
        }
        
        .featured-courses {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            margin-bottom: 25px;
        }
        
        .featured-header {
            padding: 20px 20px 15px;
            background: linear-gradient(135deg, var(--accent), #8e44ad);
            color: white;
        }
        
        .featured-header h2 {
            display: flex;
            align-items: center;
            font-size: 18px;
        }
        
        .featured-header h2 i {
            margin-right: 10px;
        }
        
        .featured-slider {
            padding: 15px;
        }
        
        .featured-course {
            display: flex;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--border);
        }
        
        .featured-course:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        
        .featured-image {
            width: 100px;
            height: 80px;
            border-radius: 12px;
            overflow: hidden;
            flex-shrink: 0;
            margin-right: 15px;
        }
        
        .featured-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .featured-content {
            flex: 1;
        }
        
        .featured-title {
            font-weight: 600;
            margin-bottom: 5px;
            font-size: 15px;
        }
        
        .featured-meta {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: var(--gray);
            margin-top: 10px;
        }
        
        .progress-bar {
            height: 5px;
            background: #ecf0f1;
            border-radius: 3px;
            overflow: hidden;
            margin-top: 8px;
        }
        
        .progress-value {
            height: 100%;
            background: var(--secondary);
            border-radius: 3px;
        }
        
        .stats-cards {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            margin: 20px 0;
        }
        
        .stat-card {
            background: white;
            border-radius: 15px;
            padding: 15px;
            text-align: center;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        }
        
        .stat-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 10px;
            font-size: 18px;
        }
        
        .learning .stat-icon {
            background: rgba(52, 152, 219, 0.15);
            color: var(--primary);
        }
        
        .completed .stat-icon {
            background: rgba(46, 204, 113, 0.15);
            color: var(--secondary);
        }
        
        .hours .stat-icon {
            background: rgba(155, 89, 182, 0.15);
            color: var(--accent);
        }
        
        .stat-value {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 3px;
        }
        
        .stat-label {
            font-size: 12px;
            color: var(--gray);
        }
        
        .learning-path {
            background: white;
            border-radius: 20px;
            padding: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            margin-bottom: 25px;
        }
        
        .path-card {
            background: linear-gradient(135deg, #4a69bd, #6a89cc);
            border-radius: 15px;
            padding: 20px;
            color: white;
            position: relative;
            overflow: hidden;
        }
        
        .path-card::before {
            content: '';
            position: absolute;
            top: -50px;
            right: -30px;
            width: 150px;
            height: 150px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
        }
        
        .path-card h3 {
            font-size: 18px;
            margin-bottom: 10px;
            position: relative;
        }
        
        .path-card p {
            font-size: 13px;
            opacity: 0.9;
            margin-bottom: 20px;
            position: relative;
        }
        
        .path-btn {
            background: white;
            color: #4a69bd;
            border: none;
            border-radius: 30px;
            padding: 8px 20px;
            font-weight: 600;
            position: relative;
            cursor: pointer;
        }
        
        .footer-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            display: flex;
            padding: 10px 0;
            box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.08);
            max-width: 750px;
            margin: 0 auto;
        }
        
        .nav-item {
            flex: 1;
            text-align: center;
            color: var(--gray);
            font-size: 12px;
            transition: color 0.3s;
        }
        
        .nav-item.active {
            color: var(--primary);
        }
        
        .nav-item i {
            display: block;
            font-size: 20px;
            margin-bottom: 3px;
        }
        
        @media (max-width: 480px) {
            .courses-grid {
                grid-template-columns: 1fr;
            }
            
            .stats-cards {
                grid-template-columns: 1fr;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <div class="top-bar">
                <div class="logo">
                    <i class="fas fa-graduation-cap"></i>
                    学无止境
                </div>
                <div class="user-actions">
                    <div class="icon-btn">
                        <i class="fas fa-bell"></i>
                    </div>
                    <div class="icon-btn">
                        <i class="fas fa-user"></i>
                    </div>
                </div>
            </div>
            
            <div class="search-bar">
                <i class="fas fa-search"></i>
                <input type="text" placeholder="搜索课程、讲师或关键词...">
            </div>
        </div>
        
        <div class="categories">
            <div class="category active">
                <i class="fas fa-laptop-code"></i>
                编程
            </div>
            <div class="category">
                <i class="fas fa-paint-brush"></i>
                设计
            </div>
            <div class="category">
                <i class="fas fa-chart-line"></i>
                营销
            </div>
            <div class="category">
                <i class="fas fa-language"></i>
                语言
            </div>
            <div class="category">
                <i class="fas fa-music"></i>
                音乐
            </div>
            <div class="category">
                <i class="fas fa-camera"></i>
                摄影
            </div>
            <div class="category">
                <i class="fas fa-business-time"></i>
                商业
            </div>
        </div>
        
        <div class="section-title">
            <h2>精选课程</h2>
            <a href="#">查看全部 <i class="fas fa-angle-right"></i></a>
        </div>
        
        <div class="courses-grid">
            <div class="course-card">
                <div class="course-image">
                    <img src="https://images.unsplash.com/photo-1555066931-4365d14bab8c?ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=80" alt="Web开发">
                    <div class="course-badge">热门</div>
                </div>
                <div class="course-content">
                    <h3 class="course-title">Web开发全栈训练营 - 2023最新版</h3>
                    <div class="course-instructor">
                        <div class="instructor-avatar">张</div>
                        张教授
                    </div>
                    <div class="course-meta">
                        <div>
                            <i class="fas fa-users"></i> 1.2万+
                        </div>
                        <div class="course-price">¥399</div>
                    </div>
                </div>
            </div>
            
            <div class="course-card">
                <div class="course-image">
                    <img src="https://images.unsplash.com/photo-1547658719-da2b51169166?ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=80" alt="Python">
                    <div class="course-badge">新课程</div>
                </div>
                <div class="course-content">
                    <h3 class="course-title">Python数据分析与人工智能实战</h3>
                    <div class="course-instructor">
                        <div class="instructor-avatar">王</div>
                        王博士
                    </div>
                    <div class="course-meta">
                        <div>
                            <i class="fas fa-users"></i> 8,500+
                        </div>
                        <div class="course-price">¥299</div>
                    </div>
                </div>
            </div>
            
            <div class="course-card">
                <div class="course-image">
                    <img src="https://images.unsplash.com/photo-1542744095-291d1f67b221?ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=80" alt="UI设计">
                </div>
                <div class="course-content">
                    <h3 class="course-title">UI/UX设计大师班 - 从入门到精通</h3>
                    <div class="course-instructor">
                        <div class="instructor-avatar">李</div>
                        李设计师
                    </div>
                    <div class="course-meta">
                        <div>
                            <i class="fas fa-users"></i> 9,200+
                        </div>
                        <div class="course-price">¥349</div>
                    </div>
                </div>
            </div>
            
            <div class="course-card">
                <div class="course-image">
                    <img src="https://images.unsplash.com/photo-1550439062-609e1531270e?ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=80" alt="移动开发">
                </div>
                <div class="course-content">
                    <h3 class="course-title">Flutter跨平台移动应用开发</h3>
                    <div class="course-instructor">
                        <div class="instructor-avatar">陈</div>
                        陈工程师
                    </div>
                    <div class="course-meta">
                        <div>
                            <i class="fas fa-users"></i> 6,700+
                        </div>
                        <div class="course-price">¥279</div>
                    </div>
                </div>
            </div>
        </div>
        
        <div class="featured-courses">
            <div class="featured-header">
                <h2><i class="fas fa-star"></i> 我的学习进度</h2>
            </div>
            
            <div class="featured-slider">
                <div class="featured-course">
                    <div class="featured-image">
                        <img src="https://images.unsplash.com/photo-1555066931-4365d14bab8c?ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=80" alt="Web开发">
                    </div>
                    <div class="featured-content">
                        <h3 class="featured-title">Web开发全栈训练营</h3>
                        <div class="progress-bar">
                            <div class="progress-value" style="width: 65%"></div>
                        </div>
                        <div class="featured-meta">
                            <span>12/20 章节</span>
                            <span>65% 完成</span>
                        </div>
                    </div>
                </div>
                
                <div class="featured-course">
                    <div class="featured-image">
                        <img src="https://images.unsplash.com/photo-1550439062-609e1531270e?ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=80" alt="移动开发">
                    </div>
                    <div class="featured-content">
                        <h3 class="featured-title">Flutter跨平台开发</h3>
                        <div class="progress-bar">
                            <div class="progress-value" style="width: 30%"></div>
                        </div>
                        <div class="featured-meta">
                            <span>6/20 章节</span>
                            <span>30% 完成</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <div class="stats-cards">
            <div class="stat-card learning">
                <div class="stat-icon">
                    <i class="fas fa-book-open"></i>
                </div>
                <div class="stat-value">5</div>
                <div class="stat-label">学习中</div>
            </div>
            
            <div class="stat-card completed">
                <div class="stat-icon">
                    <i class="fas fa-medal"></i>
                </div>
                <div class="stat-value">12</div>
                <div class="stat-label">已完成</div>
            </div>
            
            <div class="stat-card hours">
                <div class="stat-icon">
                    <i class="fas fa-clock"></i>
                </div>
                <div class="stat-value">86</div>
                <div class="stat-label">学习小时</div>
            </div>
        </div>
        
        <div class="section-title">
            <h2>热门推荐</h2>
            <a href="#">更多推荐 <i class="fas fa-angle-right"></i></a>
        </div>
        
        <div class="courses-grid">
            <div class="course-card">
                <div class="course-image">
                    <img src="https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=80" alt="数据分析">
                    <div class="course-badge">限时优惠</div>
                </div>
                <div class="course-content">
                    <h3 class="course-title">数据科学实战：Python与机器学习</h3>
                    <div class="course-instructor">
                        <div class="instructor-avatar">刘</div>
                        刘博士
                    </div>
                    <div class="course-meta">
                        <div>
                            <i class="fas fa-users"></i> 11,400+
                        </div>
                        <div class="course-price">¥459</div>
                    </div>
                </div>
            </div>
            
            <div class="course-card">
                <div class="course-image">
                    <img src="https://images.unsplash.com/photo-1553877522-43269d4ea984?ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=80" alt="JavaScript">
                </div>
                <div class="course-content">
                    <h3 class="course-title">JavaScript高级编程与框架应用</h3>
                    <div class="course-instructor">
                        <div class="instructor-avatar">赵</div>
                        赵工程师
                    </div>
                    <div class="course-meta">
                        <div>
                            <i class="fas fa-users"></i> 7,800+
                        </div>
                        <div class="course-price">¥329</div>
                    </div>
                </div>
            </div>
        </div>
        
        <div class="learning-path">
            <div class="section-title">
                <h2>学习路径</h2>
                <a href="#">查看全部 <i class="fas fa-angle-right"></i></a>
            </div>
            
            <div class="path-card">
                <h3>成为前端开发专家</h3>
                <p>通过系统学习HTML、CSS、JavaScript及流行框架，掌握前端开发核心技能</p>
                <button class="path-btn">开始学习</button>
            </div>
        </div>
    </div>
    
    <div class="footer-nav">
        <div class="nav-item active">
            <i class="fas fa-home"></i>
            首页
        </div>
        <div class="nav-item">
            <i class="fas fa-book"></i>
            我的课程
        </div>
        <div class="nav-item">
            <i class="fas fa-compass"></i>
            发现
        </div>
        <div class="nav-item">
            <i class="fas fa-user"></i>
            我的
        </div>
    </div>

    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 分类选择
            const categories = document.querySelectorAll('.category');
            categories.forEach(category => {
                category.addEventListener('click', function() {
                    categories.forEach(c => c.classList.remove('active'));
                    this.classList.add('active');
                });
            });
            
            // 导航菜单
            const navItems = document.querySelectorAll('.nav-item');
            navItems.forEach(item => {
                item.addEventListener('click', function() {
                    navItems.forEach(i => i.classList.remove('active'));
                    this.classList.add('active');
                });
            });
            
            // 模拟课程点击
            const courseCards = document.querySelectorAll('.course-card');
            courseCards.forEach(card => {
                card.addEventListener('click', function() {
                    const title = this.querySelector('.course-title').textContent;
                    alert(`即将进入课程: ${title}`);
                });
            });
            
            // 模拟路径点击
            document.querySelector('.path-btn').addEventListener('click', function() {
                alert('开始前端开发专家学习路径！');
            });
        });
    </script>
</body>
</html>